package com.henu.ocr.controller;

import com.henu.ocr.annotation.IgnoreToken;
import com.henu.ocr.service.RabbitMQService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

//@RestController
//@RequestMapping("/rabbitmq")
//@IgnoreToken
//public class RabbitMQController {
//    @Resource
//    private RabbitMQService rabbitMQService;
//
//    @GetMapping("sendMsg")
//    public String sendMsg(@RequestParam String msg) throws Exception {
//        return rabbitMQService.sendMsg(msg);
//    }
//
//}
